weights = input("请输入若干个体重，以空格分隔：").split()
sum = 0
for w in weights:
    sum += int(w)
average = sum / len(weights)
heavy = []
for w in weights:
    if int(w) > average:
        heavy.append(w)
if len(heavy) > 0:
    print("您需要锻炼，以下是比平均体重更重的体重：", heavy)
else:
    print("您的体重都很健康，继续保持哦！")
